package com.vlong.town.util.common;

import java.util.List;

/**
 * TownConstant常量类
 * @author Assassin
 */
public final class TownConstant {

	// 操作返回结果编码
	public static final int RESULT_CODE_SUCCESS = 0;// 操作返回结果码—操作成功
	public static final int RESULT_CODE_SYSTEM_EXCPTION = -5;// 操作返回结果码—系统异常
	public static final int RESULT_CODE_ILLEGAL_REQUEST = -4;// 操作返回结果码—非法请求
	public static final int RESULT_CODE_PARAMETER_ERROR = -3;// 操作返回结果码—参数错误
	public static final int RESULT_CODE_FORBIDDEN_OPERATION = -2;// 操作返回结果码—禁止操作
	public static final int RESULT_CODE_DATA_ERROR = -1;// 操作返回结果码—数据错误

	// Session存放属性
	public static final String TOWN_SESSION_USER = "TOWN_SESSION_USER";// Session中存放的已登录的用户对象
	public static final String TOWN_SESSION_USER_TYPE = "TOWN_SESSION_USER_TYPE";// Session中存放的已登录的用户对象
	public static final String TOWN_SESSION_USER_TYPE_ADMIN = "ADMIN";// Session中存放的已登录的用户类型-ADMIN
	public static final String TOWN_SESSION_USER_TYPE_CLIENT = "CLIENT";// Session中存放的已登录的用户类型-CLIENT

	// CDKEditor图片资源存放位置
	public static final String CDKEDITOR_IMAGE_PATH = "D:/cdkeditor/";
	
	/**********************删除标记*********************/
	/**删除标记1为已删除*/
	public static final Integer DEL_FLAG_1 = 1;
	/**删除标记0为未删除*/
	public static final Integer DEL_FLAG_0 = 0;
	/*****************项目状态******************/
	/**1为待审核*/
	public static final Integer TOWN_STATUS_1 = 1;
	/**2为审核通过*/
	public static final Integer TOWN_STATUS_2 = 2;
	/**3为驳回*/
	public static final Integer TOWN_STATUS_3 = 3;
	
	public static List<String> SYSTEM_URIS = null;
	
	

}